<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <title>缴费记录</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <link rel="stylesheet" href="/lobsteruiframe/weui/css/weui.css" />
    <link rel="stylesheet" href="/lobsteruiframe/weui/css/weuix.css" />
    <script src="/lobsteruiframe/weui/js/zepto.min.js"></script>
    <script src="/lobsteruiframe/weui/js/zepto.weui.js"></script>
    <script src="/lobsteruiframe/weui/js/swipe.js"></script>
    <script src="/lobsteruiframe/weui/js/macy.js"></script>
    <script src="/jslib/lobster.js"></script>
    <script src="/jslib/template-web.js"></script>

    <script src="../js/payrecord.js"></script>
    <style>
        .top {
            border-bottom: 1px solid #e8e8e8;
            position: fixed;
            left: 0;
            top: 0;
            right: 0;
            z-index: 999;
            background: #F6F6F9
        }

        .weui-cells {
            margin-top: 0px;
        }

        * {
            //touch-action: pan-y;
        }
    </style>
</head>

<body ontouchstart class="page-bg">
    <div class="top">
        <div class="weui-cells" style="background: #F8F8F8;  ">
            <a class="weui-cell weui-cell_access" href="javascript:;">
                <div class="weui-cell__bd" style="text-align: center;" id="patiengdiv">
                    <p id="selectedPatient">全部就诊人</p>
                </div>
                <div class="weui-cell__ft">
                </div>
            </a>
        </div>
    </div>

    <div class="weui-panel__bd" style="margin-top:45px;" id="div_data">
        
    </div>

    <div class="weui-loadmore hide" id="more">
        <i class="weui-loading"></i>
        <span class="weui-loadmore__tips">正在加载</span>
    </div>

    <div id="half" class='weui-popup__container popup-bottom'>
        <div class="weui-popup__overlay"></div>
        <div class="weui-popup__modal">
            <div class="toolbar">
                <div class="toolbar-inner">
                    <a href="javascript:;" class="picker-button close-popup">关闭</a>
                    <h1 class="title">选择就诊人</h1>
                </div>
            </div>
            <div class="modal-content" style="min-height: 300px;">
                <div class="weui-cells weui-cells_form">
                    <div class="weui-cells" id="sidebaritem">

                    </div>
                </div>
            </div>
        </div>
    </div>

</body>

</html>

<script id="tplcard" type="text/html">
    {{if(list.length>0)}}
    {{each list }}
    <a class="weui-cell weui-cell_access carditem" href="javascript:;" data-info="{{$value}}" style="padding:6px 15px;">
        <div class="weui-cell__bd">
            <p> {{$value.Name}} : {{$value.IDCard}}</p>
        </div>
    </a>
    {{/each}}

    {{else}}
    <a class="weui-cell weui-cell_access bindcard" href="javascript:;" style="padding:6px 15px;">
        <div class="weui-cell__bd">
            <p style="display: flex; align-items: center;"> 暂无符合要求的卡片，去绑卡</p>
        </div>
    </a>
    {{/if}}
</script>

<script type="text/template" id="tplrecord">
    {{each list }}
    <div class="weui-panel weui-panel_access" style="margin-top: 5px;" >
    <a class="weui-cell weui-cell_access payitem" href="javascript:;"  data-info="{{$value}}">
       
        <div class="weui-cell__bd weui-cell_primary" >
            <div class="page-hd-desc" style="padding:1px; ">姓名：{{$value.PatName}}</div>
            <div class="page-hd-desc" style="padding:1px; page-hd-desc">缴费时间：{{$value.PayTime }}</div> 
            <div class="page-hd-desc" style="padding:1px;">订单号：{{$value.TranserNo}}</div>
        </div>
        <div class="weui-cell__hd">
            <div class="" style="color:#FF6600">
                ￥{{$value.Fee}}
            </div>
        </div>
        <span class="weui-cell__ft"></span>
    </a>
    </div>
    {{/each}}
</script>